home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / bnchutil.arc / RENDIR.DOC < prev    next >
Encoding:
Text File  |  1991-04-30  |  1.4 KB  |  36 lines

  1.  
  2. RENDIR (Rename Directory)               John Dickinson
  3.  
  4. Purpose:  Permits renaming subdirectories directly, without creating a new
  5.           directory, moving the contents of the old one into it, and then
  6.           removing the old directory.
  7.  
  8. Format:   RENDIR [d:][path]oldname[.ext] newname[.ext]
  9.  
  10. Remarks:  PC-DOS has always provided a REName command for filenames, but not for
  11.           directories.  A bug in DOS 3.0 permits you to use the immediate mode
  12.           of BASIC to
  13.  
  14.                NAME olddir AS newdir
  15.  
  16.           but this bug has been removed from subsequent DOS versions.
  17.           RENDIR.COM permits renaming directories in DOS 3.0 and later.
  18.  
  19.           While RENDIR allows you to change the name of a directory on another
  20.           drive than your current one, it does not permit you to transfer a
  21.           directory to another drive by RENDIRing it.  Thus, for example, if
  22.           you are on drive C: and have a directory on drive D:  named \TAXES,
  23.           from the C> prompt you can
  24.  
  25.                RENDIR D:\TAXES \TAXES85
  26.  
  27.           You cannot, however
  28.  
  29.                RENDIR D:\TAXES C:\TAXES85
  30.  
  31.           Furthermore, you should not use RENDIR to try to change the name of
  32.           the subdirectory you are currently in.
  33.  
  34. Notes:    Unlike RENAME, RENDIR does not support use of the ? and * wildcard
  35.           characters.
  36.